package com.itheima.stock;

import lombok.extern.slf4j.Slf4j;
import org.apache.catalina.core.ApplicationContext;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @ClassName StockApp
 * @Description TODO
 * @Author Zack
 * @Date 2022/12/5 19:30
 * @Version 1.0
 */
@Slf4j
@SpringBootApplication
@EnableConfigurationProperties
@MapperScan(basePackages = "com.itheima.stock.mapper")
public class StockApp {

    public static void main(String[] args) {
        SpringApplication.run(StockApp.class);
        log.info("项目启动成功");
    }
}
